package com.chaopei.day08;

import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;
import java.io.StreamCorruptedException;

/**
 * @Author Corday 天涯
 * @Date 2022/3/14 10:58
 */
public class MyObjectInput extends ObjectInputStream {

    public MyObjectInput(InputStream in) throws IOException {
        super(in);
    }
//    重写文件头读入的方法

    @Override
    protected void readStreamHeader() throws IOException {
       //不读入任何文件头信息
    }
}
